- inject(function($compile, $rootScope, RegistrationState) {
- //dump( RegistrationState() );
- var element = $compile('<div><select class="my-label-select" ng-model="m" label="label" ng-options="value for value in RegistrationState()"></select></div>')($rootScope);
+ inject(function($compile, $rootScope, ValidStates) {
+ //dump( ValidStates() );
+ var element = $compile('<div><select class="my-label-select" ng-model="m" label="label" ng-options="value for value in ValidStates()"></select></div>')($rootScope);