Created
December 29, 2013 01:04
-
-
Save miwillhite/8166245 to your computer and use it in GitHub Desktop.
This file contains 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
%div{ 'ng-controller' => 'StoreCtrl' } | |
%a{ href: '#/stores' } Back to Stores | |
%h1 {{ store.name }} | |
%section.installations | |
%accordion{ 'close-others' => 'false' } | |
%accordion-group{ 'ng-repeat' => 'installation in store.installations' } | |
%accordion-heading {{ installation.name }} | |
%pane{ 'installation' => 'installation' } | |
This file contains 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
storeControllers.controller('StoreCtrl', ['$scope', '$routeParams', 'Store', | |
function($scope, $routeParams, Store) { | |
$scope.store = Store.get({ id: $routeParams.id }); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment