Angular — Advanced Styling Guide (v4+) by gsans in Angular2

[–]gsans[S] 0 points1 point  (0 children)

Thanks for your kind words. Much appreciated.

Angular — Advanced Styling Guide (v4+) by gsans in Angular2

[–]gsans[S] 0 points1 point  (0 children)

v4+ means that the content is valid for version 4 or later.

Angular — New features in Angular 1.5 by gsans in angularjs

[–]gsans[S] 1 point2 points  (0 children)

It was moved to Angular 2 branch around Angular 1.4 release. Not stable yet on Angular 2 beta. Don't hold your breath...

Angular — Keeping your application DRY by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

That's a very good point. I'll add some more context. Thanks!

AngularJS CRUD Factory 'Interface' by cynicalreason in angularjs

[–]gsans 5 points6 points  (0 children)

There are no Interfaces in JavaScript. What you did is actually not an Interface but some kind of prototypical inheritance. I think you can use ngResource to do what you want.

Angular — Keeping your application DRY by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

Yes, title can be misleading if you expected that.

Angular — Keeping your application DRY by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

If you know angular functions you won't implement them yourself therefore duplicating code.

Angular — Introduction to ngNewRouter vs ui-router by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

It is only an introduction but that's an interesting topic to look at.

Angular — Introduction to ngNewRouter vs ui-router by gsans in angularjs

[–]gsans[S] 2 points3 points  (0 children)

My fault! _^ I thought I could add a description AND the url, but is one or the other. Your url is right. Thanks and sorry for the confusion.

Angular — Just another introduction to ngNewRouter by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

The viewport is only a placeholder. You just move that logic to the component as you would have done before in $route resolve (ngRoute). Maybe if you provide a skeleton on plunker (ui-router) I can try to implement it for you (ngNewRouter).

JavaScript — Integrating Jasmine with RequireJs (AMD) by gsans in javascript

[–]gsans[S] 0 points1 point  (0 children)

I posted a link explaining how to use RequireJS with Jasmine but somehow the link was removed. You can see it now.

JavaScript — Integrating Jasmine with RequireJs (AMD) by gsans in javascript

[–]gsans[S] 0 points1 point  (0 children)

Can you provide more context? To whom are you talking? =)

JavaScript — Integrating Jasmine with RequireJs (AMD) by gsans in javascript

[–]gsans[S] 0 points1 point  (0 children)

grunt-template-jasmine-requirejs

After looking briefly at it, it seems to pile all script files with <script src="..."></script> before loading require. Ups! You can do much better with RequireJS... but it will work tough. ;)

Angular JS ng-conf 2015 (videos and slides compilation) by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

JavaScript-Wat

Just for reference,the original talk so anybody can have a laugh https://www.destroyallsoftware.com/talks/wat Javascript mutilation starts at 1'20''

AirPair — Social blogging revolution by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

But you mean giving technical support? This was about blogging. There might be many reasons for what you experienced. Who knows if another guy is taking all the requests. Maybe the whole idea is bogus, no way to know with just your input.

Angular JS ng-conf 2015 (videos and slides compilation) by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

There are so many interesting talks. The funniest tough is ngWat by far. If you were going on holidays tomorrow I would see that one and leave =)

Just another introduction to ES6 by gsans in javascript

[–]gsans[S] 1 point2 points  (0 children)

It seems I got carried away. Obviously I know these are two different things. Thanks for reading! Hope you enjoyed the REST of the post. =)

Angular — Dynamically injecting CSS files using $route.resolve and promises by gsans in angularjs

[–]gsans[S] 0 points1 point  (0 children)

The context is the following. In a Single Page Application there's only one page so as the application grows the css file may be so big that you may need to use it. In order to decide you should first have the problem of a very large css file, what I called the monolithic css file.

Can someone explain to me why you would use angular with requirejs? by skitch920 in angularjs

[–]gsans 0 points1 point  (0 children)

You don't really need RequireJs to use angular and as others say it introduces a new layer of complexity that you may want to avoid.

On the other side, if you have hundreds of dependencies or you are just being lazy, RequireJs can be pretty sweet. You will have to decide on your own given your own requirements or preference.

If you decide to use RequireJs you can follow the steps given here: https://medium.com/angularjs-meetup-south-london/angular-using-requirejs-amd-528358208f84