Implements ng-inject script