How do I display the app version in angular application? the version should be taken from package.json file
{
\"name\": \"angular-app\",
\"v
I don't think that "Angle Bracket Percent" has anything to do with angular1. That's likely an interface to another API you don't realize is being used in your previous project.
Your easiest solution: just list the version number manually in your HTML file or store it in a global variable if you are using it in multiple places:
...
My App's Version is: {{myAppVersionNumber}}
Your harder solution: run a build automation step that extracts the version number from your package.json file and then rewrites your index.html file (or js/ts file) to include the value:
Could simply import or require the package.json file, if you're working in an environment that supports it:
var version = require("../package.json").version;
This could also be done in a bash script that reads the package.json and then edits another file.