JS Angularjs Directive Scaffold