Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Matthieu Lux
    @Swiip
    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
    Benny Powers
    @bennypowers
    let's try again with src/app/*/.html
    Matthieu Lux
    @Swiip
    sure it as to find your htmls correctly to be able to know if the classes are used
    Benny Powers
    @bennypowers
    .pipe(uncss({html:'src/app/*/.html'})) didn't do it either :(
    oof I can't believe i just found out about proxy middleware, like 2 days from launch could have saved mysefl so much time
    Benny Powers
    @bennypowers
    something's not right with the way I'm doing this... when I insert that pipe into the cssFilter, I get an empty vendor.css (only introductory comments) and a 111 line unminified app.css in /dist/
    see ben-eb/gulp-uncss#55
    Ade Viankakrisna Fadlil
    @viankakrisna
    hello, is there any way to add / remove route and controller via commandline using this tool?
    Mike Baker
    @mykbaker
    @viankakrisna I don't see it in the help, I doubt it.
    Sourav Mondal
    @souravmondal93
    When I created a project using the generator, I used plain CSS as the option for stylesheets. Now I want it to upgrade it to SCSS. Is there any way, I can do that?
    Eshan Singh
    @naiveaiguy
    @souravmondal93 I think it is detailed in the docs somewhere, I’m not sure.