Sharing data between controllers
Defining a function on the scope
Changed the method to a filter
Ignoring node_modules