types_promise then function types scope types types definings_promise

1
2
3
4
5
6
7
types_promise.then(function(types) {
$scope.types = types;
});
definings_promise.then(function(definings) {
$scope.definings = definings;
});