Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.showGallery = function(){
- var ret = 'Error, No active artist';
- angular.forEach($scope.artists, function(s){
- if (s.active){
- ret= s.name;
- }
- });
- return 'ret';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement