Skip to content

Instantly share code, notes, and snippets.

@brianpetro
Created August 18, 2016 17:10
Show Gist options
  • Save brianpetro/76e0611e2454c47d0613a204111b448f to your computer and use it in GitHub Desktop.
Save brianpetro/76e0611e2454c47d0613a204111b448f to your computer and use it in GitHub Desktop.
var app = angular.module('myApp', []);
app.directive('account', function () {
return {
restrict: 'E',
template: $('#account-template')
.html(),
controller: function ($scope,
$element, $attrs) {
$scope.subAccountsOpen =
false;
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment