1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-21 15:54:22 +01:00
fab-manager/app/assets/javascripts/directives/fab_user_avatar.coffee
2018-10-25 13:06:09 +02:00

11 lines
219 B
CoffeeScript

Application.Directives.directive 'fabUserAvatar', [ ->
{
restrict: 'E'
scope:
userAvatar: "=ngModel"
avatarClass: '@'
templateUrl: '<%= asset_path "shared/_user_avatar.html" %>'
}
]