Comments (7)
Interesting, did not know that.
from angular1-systemjs-seed.
this shouldn't be an issue on latest though. Since we manually annotated the items.
from angular1-systemjs-seed.
I tried all sorts of variations of that and couldn't get it to work right. =( The one I didn't try was putting the 'ngInject'
inside of the method like @darcnite3000 has done, I thought it had to occur above it based on the docs. =(
from angular1-systemjs-seed.
I just tested it and his fix works, but honestly, I don't see it as that much of a stylistic benefit. =( It is far more clear to just write out the injection.
from angular1-systemjs-seed.
I agree, don't love the special syntax
from angular1-systemjs-seed.
I was mainly showing how it could work without manually annotating.
In the end it comes down to preference.
from angular1-systemjs-seed.
@darcnite3000 - absolutely and thanks for the share.
from angular1-systemjs-seed.
Related Issues (20)
- Error in the release HOT 2
- production config error HOT 2
- Directives Not Displaying HOT 2
- Newbe experince: Error: Cannot find module '../babel-options'
- [13:12:46] Error: Invalid glob argument: undefined -- when running gulp serve
- Unable to run gulp serve watch HOT 1
- Materialize Installation Issue` HOT 1
- Gulp Build not working HOT 1
- Module not loading when included in app.js directly HOT 2
- Using ng-include
- Clear cache on logout HOT 1
- jspm inject changes all paths HOT 3
- Can't figure out how gulp release or gulp build works and some other issues. HOT 2
- Prefetch
- HMR Demo
- Upgrade to Angular 1.5
- gulp-minify-html deprecated
- JSHint Problem
- Facing Strange PATH Error HOT 1
- No modules found during bootstrap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular1-systemjs-seed.