Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brienne
Developer Documentation
Commits
d4a92258
Commit
d4a92258
authored
7 years ago
by
totten
Browse files
Options
Downloads
Patches
Plain Diff
AngularJS - Copyedits
parent
57f681a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/framework/angular/files.md
+2
-2
2 additions, 2 deletions
docs/framework/angular/files.md
docs/framework/angular/loader.md
+4
-4
4 additions, 4 deletions
docs/framework/angular/loader.md
with
6 additions
and
6 deletions
docs/framework/angular/files.md
+
2
−
2
View file @
d4a92258
...
...
@@ -4,8 +4,8 @@ As a developer working with CiviCRM-Angular, you write *Angular modules* --
these modules are composed of various JS/CSS/HTML files which define the
*services*
,
*directives*
,
*controllers*
, and
*HTML partials*
.
For sake of predictability, these files
follow a naming convention. All
major Angular files are placed in the
`ang/`
folder
.
For sake of predictability, these files
are placed in the
`ang/`
folder, and
they follow a naming convention
.
!!! note "How does this work with
`civix`
?"
When you generate Angular code via
`civix`
, the files are
...
...
This diff is collapsed.
Click to expand it.
docs/framework/angular/loader.md
+
4
−
4
View file @
d4a92258
# AngularJS: Loader
What happens when a user visits a CiviCR-Angular page? For example, let's
What happens when a user visits a CiviCR
M
-Angular page? For example, let's
consider this URL:
*
`https://example.org/civicrm/a/#/caseType`
...
...
@@ -9,8 +9,8 @@ Broadly speaking, two things happen:
1.
(Server-side) CiviCRM processes the request for
`civicrm/a`
. It
displays a web-page with all your Angular modules -- such as
`crmAttachment`
,
`crmCaseType`
,
`crmUi`
, and so on.
2.
(Client-side) AngularJS processes the
request
. It finds that the
`ngRoute`
,
`crmAttachment`
,
`crmCaseType`
,
`crmUi`
, and so on.
2.
(Client-side) AngularJS processes the
HTML/JS/CSS
. It finds that the
module
`crmCaseType`
includes a route for
`#/caseType`
and loads the
appropriate HTML template.
...
...
@@ -19,7 +19,7 @@ The client-side behavior is well-defined by Angular
server-side in greater depth because that is unique to the CiviCRM-Angular
integration.
!!! caution "Discusses new/experimental interfaces"
!!! caution "
Caution:
Discusses new/experimental interfaces"
Some elements of this document have been around since CiviCRM v4.6
and should remain well-supported. Other elements are new circa v4.7.21
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment