I separated my issue Plunker<http://plnkr.co/edit/hKc9eNn31PA2Lw3jQQc1?p=preview>!
Please click on the time icon to open the subnode.
I'm using angular strap select<http://mgcrea.github.io/angular-strap/#/select>!
to change state of alert_id. Select is feed from service (in plunker i just
used array) and it use $scope.alerts I want to use
ng-model="training.alert_id" to set the data in other model and it's
working. But when you reload app select doesn't show the currently selected
option.
Please click on the time icon to open the subnode.
I'm using angular strap select<http://mgcrea.github.io/angular-strap/#/select>!
to change state of alert_id. Select is feed from service (in plunker i just
used array) and it use $scope.alerts I want to use
ng-model="training.alert_id" to set the data in other model and it's
working. But when you reload app select doesn't show the currently selected
option.