Avalaible images can be display
This commit is contained in:
parent
96094547dd
commit
b0b2dc9a64
3 changed files with 39 additions and 8 deletions
|
@ -3,7 +3,11 @@
|
|||
*
|
||||
* @param {$scope} $scope The $scope service from angular
|
||||
*/
|
||||
mainApp.controller('imageCtrl', function ($scope)
|
||||
mainApp.controller('imageCtrl', ['$scope', 'Image', function ($scope, Image)
|
||||
{
|
||||
$scope.title="Test";
|
||||
});
|
||||
var callbackTest=function(){
|
||||
$scope.images=Image.getData().images;
|
||||
};
|
||||
|
||||
Image.getImages(callbackTest);
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue