From 4804c83b7db5770d5d02eea9eea4cc012b4aa524 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 14 Dec 2011 02:55:31 +0100 Subject: docs(compiler): update the compiler docs --- docs/content/guide/dev_guide.bootstrap.ngdoc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs/content/guide/dev_guide.bootstrap.ngdoc') diff --git a/docs/content/guide/dev_guide.bootstrap.ngdoc b/docs/content/guide/dev_guide.bootstrap.ngdoc index 5b688e3a..83b26aea 100644 --- a/docs/content/guide/dev_guide.bootstrap.ngdoc +++ b/docs/content/guide/dev_guide.bootstrap.ngdoc @@ -31,18 +31,19 @@ and manage the whole page. You do this as follows: You need to declare the angular namespace declaration in the following cases: -* For all browsers if you are using XHTML. -* For Internet Explorer older than version 9 (because older versions of IE do not render widgets +* For all types of browser if you are using XHTML. +* For Internet Explorer older than version 9 (because older versions of IE do not render namespace properly for either HTML or XHTML). ## Creating Your Own Namespaces -When you are ready to define your own {@link dev_guide.compiler.widgets widgets}, you must create -your own namespace in addition to specifying the angular namespace. You use your own namespace to -form the fully qualified name for widgets that you create. +When you are ready to define your own {@link api/angular.module.ng.$compileProvider.directive +directive}, you may chose to create your own namespace in addition to specifying the angular +namespace. You use your own namespace to form the fully qualified name for directives that you +create. -For example, you could map the alias `my` to your domain, and create a widget called `my:widget`. +For example, you could map the alias `my` to your domain, and create a directive called `my:directive`. To create your own namespace, simply add another `xmlns` tag to your page, create an alias, and set it to your unique domain: -- cgit v1.2.3