Loadable Directive for Angularjs