Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Benny Powers
    @bennypowers
    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...
    Ian Pansensoy
    @acidrainz
    can this be use with angular2
    ?
    Matthieu Lux
    @Swiip
    nop, but we're working hard on https://github.com/FountainJS/generator-fountain-webapp to to have a new Angular 2 version
    David
    @MoxFulder
    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?
    Matthieu Lux
    @Swiip
    you can but (at least in es5) it's not necessary
    David
    @MoxFulder
    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?
    neilkyoung
    @neilkyoung

    For anyone interested I got this going by adding:

    .pipe($.revReplace({
    replaceInExtensions: [".php"]
    }))

    ..to the revReplace function call in the gulp/build.js file in the html task runner.

    Samuel Marks
    @SamuelMarks
    hi
    Does this generator come with commands to generate code, e.g.: a new controller?
    Juan Cuzmar
    @glats
    Hi guys
    I like to know if in the future will exist a new version for generator with angular 1.5
    Mehdy Dara
    @zckrs
    I dont think. The next version ===>
    Emmanuel Murillo Sánchez
    @Emmurillo
    Do you guys recommend this generator over any other one? First time using it but seems to be awesome
    Mike
    @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?
    Juan Cuzmar
    @glats
    Hi everyone
    Puneet Aggarwal
    @puneetagg
    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?
    Benny Powers
    @bennypowers
    How do I run the css through gulp-uncss? I've created a task called gulp.task('uncss') according to http://fourkitchens.com/blog/article/use-gulp-and-uncss-slim-down-your-css-framework but how do I tell gulp to run it during build?
    Matthieu Lux
    @Swiip
    hi, you have to add it in the pipe of the build task
    somewhere inside the filter css
    Benny Powers
    @bennypowers
    in the var cssFilter build.js:40?
    Benny Powers
    @bennypowers
    I added .pipe(uncss({html:'src/index.html'})) just below .pipe(cssFilter) and it stripped out all my styles :D
    Matthieu Lux
    @Swiip
    lol
    i never used uncss, i can't help you further