Skip to content

Using Angular Controllers: Local images not showing #9

Description

@mperez-bluechip

Tried ng-src="img/{{item.shortname}}_tn.jpg" and src="img/{{item.shortname}}_tn.jpg" with no luck. Could this be an Angular issue, possibly in ionic.bundle.js?

In app.js:

.controller('ListController', ['$scope', '$http', function($scope, $http){
$http.get('js/data.json').success(function(data){
$scope.artists = data;
});
}]);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions