From 66c14ce84a149be7b288a854764d72f92865493a Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Mon, 3 Mar 2014 12:36:30 -0800 Subject: docs(guide/concepts): fix links --- docs/content/guide/concepts.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index bee2f195..63ec1bcf 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -185,7 +185,7 @@ The following graphic shows how everything works together after we introduced th Right now, the `InvoiceController` contains all logic of our example. When the application grows it is a good practice to move view independent logic from the controller into a so called -"{@link dev_guide.services service}", so it can be reused by other parts +"{@link services service}", so it can be reused by other parts of the application as well. Later on, we could also change that service to load the exchange rates from the web, e.g. by calling the Yahoo Finance API, without changing the controller. @@ -278,7 +278,7 @@ The code snippet `angular.module('invoice2', ['finance2'])` specifies that the Now that Angular knows of all the parts of the application, it needs to create them. In the previous section we saw that controllers are created using a factory function. For services there are multiple ways to define their factory -(see the {@link dev_guide.services service guide}). +(see the {@link services service guide}). In the example above, we are using a function that returns the `currencyConverter` function as the factory for the service. -- cgit v1.2.3