Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TypeScript 'use strict'
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01610964
Message ID:
01611003
Views:
30
>Hmm. If I place it before the module I get "missing 'use strict' .
>
>UPDATE: Actually, I get both warnings ('expected an assignment or function call' as well)

In our code we use (for the service):
(function () {
    'use strict';
    
    var app = angular.module('sysMgrApp');

    app.factory('accountsService', ['$http
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform