You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: src/docs/asciidoc/installation/index.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
== Installation
2
2
3
-
To start using this plugin, add it to your `build.gradle` like the example below. If you created your project with the angular profile in Grails 3.2.0 or higher, this is done automatically.
3
+
To start using this plugin, add it to your `build.gradle` like the example below. If you created your project with the angularjs profile, this is done automatically.
Copy file name to clipboardexpand all lines: src/docs/asciidoc/usage/index.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -61,9 +61,9 @@ The scaffolding will look for `/grails-app/assets/javascripts/com/foo/core/com.f
61
61
62
62
=== Assumptions
63
63
64
-
This plugin needs certain third party libraries to function and it assumes they are available. In addition to angular itself, the plugin relies on link:https://github.com/angular-ui/ui-router[ui-router] for routing and the Angular resource module for making REST calls.
64
+
This plugin needs certain third party libraries to function and it assumes they are available. In addition to Angular itself, the plugin relies on link:https://github.com/angular-ui/ui-router[ui-router] for routing and the Angular resource module for making REST calls.
65
65
66
-
If you are using this plugin without the angular profile in Grails 3.2.0 or greater, it will be up to you to ensure those assets are available in the project. You can inform the plugin of their location with configuration.
66
+
If you are using this plugin without the angularjs profile, it will be up to you to ensure those assets are available in the project. You can inform the plugin of their location with configuration.
67
67
68
68
Here is how you might use the link:https://github.com/craigburke/client-dependencies-gradle[Client Dependencies] plugin to download the required assets automatically and put them in the place the scaffolding expects by default.
69
69
@@ -96,7 +96,7 @@ clientDependencies {
96
96
97
97
=== REST API
98
98
99
-
The scaffolding generated by this plugin includes code to configure an Angular https://docs.angularjs.org/api/ngResource/service/$resource[$resource] for the given domain object. The `$resource` defines how the Angular domain class communicates with the back-end API endpoints for retrieving and manipulating the domain object.
99
+
The scaffolding generated by this plugin includes code to configure an AngularJS https://docs.angularjs.org/api/ngResource/service/$resource[$resource] for the given domain object. The `$resource` defines how the Angular domain class communicates with the back-end API endpoints for retrieving and manipulating the domain object.
100
100
101
101
The generated `$resource` assumes that the server offers an API using a standard REST pattern, as per the following example for a domain object mapped to the `/book` URL:
102
102
@@ -113,7 +113,7 @@ The generated `$resource` assumes that the server offers an API using a standard
113
113
114
114
==== Dependencies
115
115
116
-
The generated scaffolding assumes the following asset pipeline plugins are being used in your project. If you are using the angular profile, the necessary dependencies are included by default.
116
+
The generated scaffolding assumes the following asset pipeline plugins are being used in your project. If you are using the angularjs profile, the necessary dependencies are included by default.
117
117
118
118
[source,groovy,indent=1]
119
119
.build.gradle
@@ -151,7 +151,7 @@ grails:
151
151
152
152
=== Routing
153
153
154
-
If you are using the angular profile in Grails 3.2.0 or higher, the default index page is modified so that clicking on the link to the controller will automatically route you to the module the controller represents. If you are using this plugin in an existing application, you will have a little bit of work to do to use the generated assets.
154
+
If you are using the angularjs profile, the default index page is modified so that clicking on the link to the controller will automatically route you to the module the controller represents. If you are using this plugin in an existing application, you will have a little bit of work to do to use the generated assets.
155
155
156
156
The first step is to ensure the module is included in the page. If a parent module is found, a dependency will automatically be created, however it is up to you to ensure the parent module or the generated module is included on the page using asset pipeline as you normally would.
0 commit comments