|
3 | 3 | * @name ngComponentRouter
|
4 | 4 | * @installation
|
5 | 5 | *
|
6 |
| - * <div class="alert alert-danger"> |
7 |
| - * **Deprecation Notice:** This implementation of the Component Router has been deprecated and will not receive further updates. |
8 |
| - * Alternatively, use the {@link ngRoute} module or community developed projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
| 6 | + * <div class="alert alert-info"> |
| 7 | + * **Deprecation Notice:** In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) has been deprecated and will not receive further updates. |
| 8 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
9 | 9 | * </div>
|
10 |
| -
|
| 10 | + * |
11 | 11 | * Currently, the **Component Router** module must be installed via `npm`, it is not yet available
|
12 | 12 | * on Bower or the Google CDN.
|
13 | 13 | *
|
|
42 | 42 | * @ngdoc type
|
43 | 43 | * @name Router
|
44 | 44 | * @description
|
45 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
46 | 45 | * A `Router` is responsible for mapping URLs to components.
|
47 | 46 | *
|
48 | 47 | * * Routers and "Routing Component" instances have a 1:1 correspondence.
|
|
52 | 51 | * You can see the state of a router by inspecting the read-only field `router.navigating`.
|
53 | 52 | * This may be useful for showing a spinner, for instance.
|
54 | 53 | *
|
| 54 | + * @deprecated |
| 55 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 56 | + * has been deprecated and will not receive further updates. |
| 57 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 58 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
55 | 59 | */
|
56 | 60 |
|
57 | 61 | /**
|
58 | 62 | * @ngdoc type
|
59 | 63 | * @name ChildRouter
|
60 | 64 | * @description
|
61 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
62 | 65 | *
|
63 | 66 | * This type extends the {@link Router}.
|
64 | 67 | *
|
65 | 68 | * Apart from the **Top Level Component** ({@link $routerRootComponent}) which is associated with
|
66 | 69 | * the {@link $rootRouter}, every **Routing Component** is associated with a `ChildRouter`,
|
67 | 70 | * which manages the routing for that **Routing Component**.
|
| 71 | + * |
| 72 | + * @deprecated |
| 73 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 74 | + * has been deprecated and will not receive further updates. |
| 75 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 76 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
68 | 77 | */
|
69 | 78 |
|
70 | 79 | /**
|
71 | 80 | * @ngdoc type
|
72 | 81 | * @name RootRouter
|
73 | 82 | * @description
|
74 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
75 | 83 | *
|
76 | 84 | * This type extends the {@link Router}.
|
77 | 85 | *
|
78 | 86 | * There is only one instance of this type in a Component Router application injectable as the
|
79 | 87 | * {@link $rootRouter} service. This **Router** is associate with the **Top Level Component**
|
80 | 88 | * ({@link $routerRootComponent}). It acts as the connection between the **Routers** and the **Location**.
|
| 89 | + * |
| 90 | + * @deprecated |
| 91 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 92 | + * has been deprecated and will not receive further updates. |
| 93 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 94 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
81 | 95 | */
|
82 | 96 |
|
83 | 97 | /**
|
84 | 98 | * @ngdoc type
|
85 | 99 | * @name ComponentInstruction
|
86 | 100 | * @description
|
87 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
88 | 101 | *
|
89 | 102 | * A `ComponentInstruction` represents the route state for a single component. An `Instruction` is
|
90 | 103 | * composed of a tree of these `ComponentInstruction`s.
|
|
93 | 106 | * to route lifecycle hooks, like `$routerCanActivate`.
|
94 | 107 | *
|
95 | 108 | * You should not modify this object. It should be treated as immutable.
|
| 109 | + * |
| 110 | + * @deprecated |
| 111 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 112 | + * has been deprecated and will not receive further updates. |
| 113 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 114 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
96 | 115 | */
|
97 | 116 |
|
98 | 117 | /**
|
99 | 118 | * @ngdoc type
|
100 | 119 | * @name RouteDefinition
|
101 | 120 | * @description
|
102 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
103 | 121 | *
|
104 | 122 | * Each item in the **RouteConfig** for a **Routing Component** is an instance of
|
105 | 123 | * this type. It can have the following properties:
|
|
108 | 126 | * * `component`, `loader`, `redirectTo` (requires exactly one of these)
|
109 | 127 | * * `name` - the name used to identify the **Route Definition** when generating links
|
110 | 128 | * * `data` (optional)
|
| 129 | + * |
| 130 | + * @deprecated |
| 131 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 132 | + * has been deprecated and will not receive further updates. |
| 133 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 134 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
111 | 135 | */
|
112 | 136 |
|
113 | 137 | /**
|
114 | 138 | * @ngdoc type
|
115 | 139 | * @name RouteParams
|
116 | 140 | * @description
|
117 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
118 | 141 | *
|
119 | 142 | * A map of parameters for a given route, passed as part of the {@link ComponentInstruction} to
|
120 | 143 | * the Lifecycle Hooks, such as `$routerOnActivate` and `$routerOnDeactivate`.
|
| 144 | + * |
| 145 | + * @deprecated |
| 146 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 147 | + * has been deprecated and will not receive further updates. |
| 148 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 149 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
121 | 150 | */
|
122 | 151 |
|
123 | 152 | /**
|
|
126 | 155 | * @priority 400
|
127 | 156 | * restrict: AE
|
128 | 157 | * @description
|
129 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
130 | 158 | *
|
131 | 159 | * The directive that identifies where the {@link Router} should render its **Components**.
|
| 160 | + * |
| 161 | + * @deprecated |
| 162 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 163 | + * has been deprecated and will not receive further updates. |
| 164 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 165 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
132 | 166 | */
|
133 | 167 |
|
134 | 168 | /**
|
135 | 169 | * @name ngLink
|
136 | 170 | * @description
|
137 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
138 | 171 | *
|
139 | 172 | * Lets you create links to different views, automatically generating the `href`.
|
140 | 173 | *
|
|
144 | 177 | * ```html
|
145 | 178 | * <a ng-link="['Parent', {param: 1}, 'Child']">Link to Child View</a>
|
146 | 179 | * ````
|
| 180 | + * |
| 181 | + * @deprecated |
| 182 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 183 | + * has been deprecated and will not receive further updates. |
| 184 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 185 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
147 | 186 | */
|
148 | 187 |
|
149 | 188 |
|
150 | 189 | /**
|
151 | 190 | * @ngdoc service
|
152 | 191 | * @name $rootRouter
|
153 | 192 | * @description
|
154 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
155 | 193 | *
|
156 | 194 | * The singleton instance of the {@link RootRouter} type, which is associated
|
157 | 195 | * with the top level {@link $routerRootComponent}.
|
| 196 | + * |
| 197 | + * @deprecated |
| 198 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 199 | + * has been deprecated and will not receive further updates. |
| 200 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 201 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
158 | 202 | */
|
159 | 203 |
|
160 | 204 |
|
161 | 205 | /**
|
162 | 206 | * @ngdoc service
|
163 | 207 | * @name $routerRootComponent
|
164 | 208 | * @description
|
165 |
| - * @deprecated This implementation of the Component Router has been deprecated and should not be used anymore. |
166 | 209 | *
|
167 | 210 | * The top level **Routing Component** associated with the {@link $rootRouter}.
|
| 211 | + * |
| 212 | + * @deprecated |
| 213 | + * In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) |
| 214 | + * has been deprecated and will not receive further updates. |
| 215 | + * We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed |
| 216 | + * projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)). |
168 | 217 | */
|
0 commit comments