-
-
Save maneja81/f6e7586b53a9c4a8b99f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.directive('prettyp', function(){ | |
return function(scope, element, attrs) { | |
$("[rel^='prettyPhoto']").prettyPhoto({deeplinking: false, social_tools: false}); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a prettyp class="image" ng-href="{{b.img}}" rel="prettyPhoto[main]" target="_blank" title="{{b.title}}"> | |
<img ng-src="{{b.img}}" height="100px"/> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment