Module: AppContext

AppContext

AppContext Provider
Author:
  • Marco Lehmann <marco.lehmann (at) kiwigrid.com>
Source:

Classes

ketaAppContext
ketaAppContextProvider

Methods

<inner> get(key) → {*}

Get value by key from app context object. There key is a string in dot notation to describe object properties with hierarchy.

Parameters:
Name Type Description
key string key to retrieve from app context
Source:
Returns:
* Object extracted from AppContext
Example
angular.module('exampleApp', ['keta.services.AppContext'])
    .config(function(ketaAppContextProvider) {
        var socketURL = ketaAppContextProvider.get('bus.url');
    });