Last post May 02, 2015 03:01 AM by Mikesdotnetting
Apr 30, 2015 02:08 PM|MX804|LINK
I have been having trouble getting angular to work with Razor and webmatrix. Can someone point me in the right direction?
Apr 30, 2015 03:18 PM|MX804|LINK
This seems to have fixed it... New to razor so I guess I have to add a few things.
Apr 30, 2015 10:17 PM|wavemaster|LINK
No, this just tells it where is can find the angular.min.js file.
You still need to make the call markup to angular specific functionality.
May 02, 2015 03:01 AM|Mikesdotnetting|LINK
You don't need to use @Href, but it is a Razor function that evaluates the relative path ~/Content/js/angular.min.js, and converts it to a URL. Since version 2 of Web Pages, Razor will see the tiled ( ~ ) and automatically invoke the Href method so this