Skip to content

Commit

Permalink
added 'goto' to stats directive. Takes ui-sref state name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Binns committed May 7, 2015
1 parent 6d1cba1 commit 1c7f647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/directives/dashboard/stats/stats.html
Expand Up @@ -11,7 +11,7 @@
</div>
</div>
</div>
<a href="#">
<a ui-sref="{{goto}}">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
Expand Down
3 changes: 2 additions & 1 deletion app/scripts/directives/dashboard/stats/stats.js
Expand Up @@ -19,7 +19,8 @@ angular.module('sbAdminApp')
'name': '@',
'colour': '@',
'details':'@',
'type':'@'
'type':'@',
'goto':'@'
}

}
Expand Down

0 comments on commit 1c7f647

Please sign in to comment.