Closed slmyers closed 8 years ago
I'm confused by the use of "ngInject"; here
"ngInject";
angular.module('app',` [ uiRouter, Components.name ]) .config(($locationProvider) => { "ngInject"; // @see: https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions // #how-to-configure-your-server-to-work-with-html5mode $locationProvider.html5Mode(true).hashPrefix('!'); }) .component('app', AppComponent);
Does this string execute code or is it there for some type of exposition?
https://github.com/olov/ng-annotate#es6-and-typescript-support
I'm confused by the use of
"ngInject";
hereDoes this string execute code or is it there for some type of exposition?