Techno Fattie

Articles tagged with "directives"

Josh Carroll

Controllers Should Be Classes It's a drum I have been beating for close to a year now because I want you to avoid creating a mess of $scope soup. I'm not alone in this design decision either, as popular style guides by John Papa...

Josh Carroll

I Have Two Angular Applications... One For Each of You! AngularJS is amazingly flexible, so it usually comes as a surprise to people when they find out that you can't use ng-app twice on the same page. Granted, this isn't someth...

Josh Carroll

How Do I Show A Loading Indicator In Angular? It's a question I run into a lot actually. To be fair, there are a million different types of loading indicators and ways to use them, but most often, developers are looking for a simpl...

Josh Carroll

It's no doubt Angular is an awesome framework for building modern web applications. Loading tiny bits of HTML and JSON can be amazingly fast, and SPA's are a great way to give your users a snappy UI without the overbearing page r...

Josh Carroll

Angular's built in script directive is really nice for embedded templates, but not much else. If you are like me, you have found yourself wanting to be able to extend it to work for other types of embedded data. Luckily this turns ou...