How do you write your injection service ? Do you use ngInject annotation or something special ? I saw that ng-annotate is already executed by gulp, so is a definition like "function CategoryEditController(productsService, $uibModalInstance, toaster) {}" sufficient ? (without any annotation or manual inject ?)
Matthieu Lux
@Swiip
do you talk about html script injection or angular dependency injection ?
the first one is with gulp-inject and wiredep in gulp/inject.js
the second is only ng-annotate magic
David
@MoxFulder
angular dependecy injection
Matthieu Lux
@Swiip
then, ng-annotate is good enough to detect injectable functions
David
@MoxFulder
so I do not have to add some magical annotations into my code?
ok. I was reading john's papa guidelines and I don't really understand if it is necessary to add those annotation or it ng-annotate called at build time is enought
Matthieu Lux
@Swiip
perhaps he considers that even if it could be automatic, it's better to identify what will be done with the comment
David
@MoxFulder
ok I think it is that too
Benny Powers
@bennypowers
after I've run yo gulp-angular and built out my project, how can I change my jQuery pref (i.e. from jqlite to jquery1)
Matthieu Lux
@Swiip
remove jquery wiredep exclusion from gulp/conf.js
Benny Powers
@bennypowers
THANKS!
neilkyoung
@neilkyoung
I have got my application running through a proxy so I can run PHP files instead of using .html. I am having a problem however when trying to create a distributed build. It copies over the php files but does not include the versioning in the index.php. Any idea of where I can change this?
Do you guys recommend this generator over any other one? First time using it but seems to be awesome
Mike Sigsworth
@mikesigs
I used it to build a fairly compex Angular+TypeScript app last year. It is an awesome generator. The gulpfile(s) alone are worth it.
Rémi Alvergnat
@Toilal
It's the best for angular webapp for sure.
Mehdy Dara
@zckrs
Thanks @Toilal :p
Rémi Alvergnat
@Toilal
Hope you will write something great for angular 2 too :) For now existing tooling is really a mess...
Benny Powers
@bennypowers
I get a bunch of errors because I'm using $scope in a few of my controllers. AFAIK this is a matter of personal preference and there are actually use cases to keep $scope and not use vm - but am I wrong, is it a Stupid Idea™ to use $scope with this generator? (sorry if this is the 1000th time this has been asked here)
Puneet Aggarwal
@puneetagg
Hi... I have done setup of my project using generator-gulp-angular. Thanks to the whole community for such a tool. There's one issue I am facing. I installed satellizer using npm and specified as dependency in angular app..still its not getting included in the build.. Can anybody help me with this?
Hi.. Is there any way to debug the gulp build process?
Benny Powers
@bennypowers
Can I run a gulp-connect-php server that works with browsersync? where do I put the gulp-connect-php stuff? in /gulpfile.js or in /gulp/server.js?
Ahmad-Soliman
@Ahmad-Soliman
I am trying to use $httpbackend for backend-less dev, then i created some stub files that end with *.mock.js. I loaded these file with custom task called 'inject-mock', the problem is all the mock files loaded at the end. The mocking files must loaded first before real service request injected. How to control the order of the injected files?