Skip to content

Commit

Permalink
WIP sticky state for keeping iframes loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
clkao committed Aug 2, 2014
1 parent f61b351 commit c15c4a0
Show file tree
Hide file tree
Showing 2 changed files with 1,215 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.ls
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

angular.module('scroll', []).value('$anchorScroll', angular.noop)

angular.module \app <[ui app.templates app.controllers ui.router ui.router.stateHelper]>
angular.module \app <[ui app.templates app.controllers ct.ui.router.extras ui.router.stateHelper]>
.config <[stateHelperProvider $urlRouterProvider $locationProvider]> ++ (stateHelperProvider, $urlRouterProvider, $locationProvider) ->
stateHelperProvider.setNestedState do
name: 'about'
Expand All @@ -22,6 +22,8 @@ angular.module \app <[ui app.templates app.controllers ui.router ui.router.state
url: '/__index'
* name: 'doc'
url: '/{docId}'
sticky: true
deepStateRedirect: true
views:
'hack-index':
template-url: 'partials/hack-index.html'
Expand Down
Loading

0 comments on commit c15c4a0

Please sign in to comment.