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

Comments

Projects
None yet
1 participant
@shprink
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

This comment has been minimized.

Collaborator

shprink commented Sep 3, 2015

  • translate back button

@shprink shprink modified the milestones: 1.5.1, 1.6.0 Sep 4, 2015

@shprink

This comment has been minimized.

Collaborator

shprink commented Sep 4, 2015

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

@shprink shprink closed this Sep 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment