Filters

John Lindquist
InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Many times while building an AngularJS application you'll need to manipulate data, and it doesn't make sense to do it with a Controller method. Luckily you have Filters, which are particularly well suited for manipulating text within your HTML views. This handy tool uses a simple syntax to create highly reusable functionality for your apps.

Abdel
Abdel
~ 6 years ago

Hi, I was watching https://egghead.io/lessons/angularjs-filters and I came to notice about "AngularJS 1.3: Controllers can no longer be global functions. ". In the details link provided.. It says to define the controller function as anonymous function .. How does this effect testing? also, this is how I currently define my controllers.. Please have a look at this jsfiddle: http://jsfiddle.net/olakara/9fyg8kvs/ . What is best practice for working on Angular 1.3 & 1.4 ?