From c61336842f716f134b9d839f7aba4974cae6570d Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Mon, 30 Nov 2015 17:28:52 -0600 Subject: [PATCH] docs(decorators): content for @App --- ionic/config/decorators.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ionic/config/decorators.ts b/ionic/config/decorators.ts index aee58cae5e..dd62170b11 100644 --- a/ionic/config/decorators.ts +++ b/ionic/config/decorators.ts @@ -115,9 +115,17 @@ function appendConfig(cls, config) { } /** - * TODO - */ +* @ngdoc service +* @name App +* @module ionic +* @param {object} [config] - the app's [../Config](Config) object +* @param {string} [template] - the template to use for the app root +* @param {string} [templateUrl] - a relative URL pointing to the template to use for the app root +* @description +* App is an Ionic decorator that bootstraps an application. It can be passed a number of arguments, that act as global config variables for the app. +*/ export function App(args={}) { + return function(cls) { // get current annotations let annotations = Reflect.getMetadata('annotations', cls) || [];