4 ms·
I agree with you except the "level up" word choice. That implies that it is necessarily better, whereas I still think that's up for debate. I think we've all b
by lerouxb 13y ago
I agree with you except the "level up" word choice. That implies that it is necessarily better, whereas I still think that's up for debate.
I think we've all been burnt by "magic" code before. A good "smell" for that sort of thing is when newbies start asking questions on stack exchange like "How do I do this in Angular?" when they should be asking "How do I do this in JavaScript?" (or rather "How do I do this at all?").
- altcognito 13y agoFor example, lets just create a controller on the fly. http://stackoverflow.com/questions/15250644/angularjs-loading-a-controller-dynamically http://stackoverflow.com/questions/15250644/angularjs-loadin... Lets do something even more basic, like use HTML5 push state: http://stackoverflow.com/questions/11095179/using-html5-pushstate-on-angular-js http://stackoverflow.com/questions/11095179/using-html5-push... Oh, that's "easy", how could I have missed that in the API docs? http://docs.angularjs.org/api/ng/provider/$locationProvider http://docs.angularjs.org/api/ng/provider/$locationProvider Oh.