in this particular case, an a href was causing problems / blowing up the image (it is embedded in a custom side menu)
HTML
<img class="homeicon" ng-click="goToHome()" ng-src="{{::portal.logo}}" title="<a title>" role="presentation" alt="${Portal Logo}" />
client controller
function($scope, $location) {
$scope.goToHome = function(){
$location.search("id", "home");
}
}
CSS
img.homeicon:hover {
cursor: pointer;
}
Comments
Post a Comment