No, I think I'm getting it mixed up with something else.
it had to do with Bootstrap using LESS and my app using Sass.
Look for the variables.scss file in the Bootstrap folder under bower_components and make sure the variables you're trying to override exist.
Benny Powers
@bennypowers
@mikesigs Thanks, I tried double checking, but still didn't work. A solution that worked was to avoid variables in the property. $text-color: $grey-lighter didn't work but $text-color: #333 did. error: http://pastebin.com/ZrZN6Q6X
Puneet Aggarwal
@puneetagg
Hi... How do I put off eslint in the gulp build process?
Mike Sigsworth
@mikesigs
@bennyp123 You could just delete the entire node_modules folder and run npm install again.
@mikesigs thank you for the suggestion, i ran rm -rf node_modules && npm install but still got the same error.
Benny Powers
@bennypowers
Newb Q: I created a new module by copying components/navbar and renaming the controllers etc. My template file loads no problem, but the data doesn't unless i pass $scope through the controller and replace vm.foo with $scope.foo. What am I doing wrong?
Related note, also, I replaced all of the code in MainController with vm.date=new Date(); and now my {{date}} expression doesn't parse.
There, too, passing $scope through MainController and saying $scope.date = new Date(); works, but gulp gives me "You should not set properties on $scope in controllers, Use controllerAs syntax and add data to "this"
Heber Nobre
@zbrukas
My generated CSS is being placed under the gulp-ruby-sass folder in the User/AppData folder. Did this happen to anyone yet?
It's happening with all my custom scss, the page only loads the vendor css and nothing more...
It's a fresh install, shouldn't do this I guess...
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?