Changes made to controllers.js and directives.js(Added more examples)