Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to modify ionic configuration through config.json #55

Closed
shprink opened this issue Sep 3, 2015 · 2 comments
Closed

Ability to modify ionic configuration through config.json #55

shprink opened this issue Sep 3, 2015 · 2 comments
Milestone

Comments

@shprink
Copy link
Collaborator

shprink commented Sep 3, 2015

http://ionicframework.com/docs/api/provider/$ionicConfigProvider/

  1. Create a new key in config.json named "ionicConfig"
  2. Basically in index.coffee we need to map all config function that $ionicConfigProvider provides:
app.config ($WPHCConfig, $ionicConfigProvider) ->
    $ionicConfigProvider.views.maxCache _.get($WPHCConfig, 'ionicConfig.cache.views') || 10
    $ionicConfigProvider.views.forwardCache _.get($WPHCConfig, 'ionicConfig.cache.forward') || false
    $ionicConfigProvider.scrolling.jsScrolling _.get($WPHCConfig, 'ionicConfig.scrolling.jsScrolling') || false
    // MORE HERE
@shprink
Copy link
Collaborator Author

shprink commented Sep 3, 2015

  • translate back button

@shprink shprink modified the milestones: 1.5.1, 1.6.0 Sep 4, 2015
@shprink
Copy link
Collaborator Author

shprink commented Sep 4, 2015

Done except translation the back button. Creating another issue just for it

@shprink shprink closed this as completed Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant