Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Made the sentence more clear. #6998

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/tutorial/step_05.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ There are two ways to overcome issues caused by minification:
phonecatApp.controller('PhoneListCtrl', PhoneListCtrl);
```

* Use the inline bracket notation which wraps the function to be injected into an array of strings
(representing the dependency names) followed by the function to be injected:
* Use the inline bracket notation to wrap the required dependencies into an array of strings
(the dependency names) followed by the function that gets injected with those dependencies:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you feel about something like

Use the inline bracket notation to create an array containing the symbol names to inject (as strings) into the function, in the order they are passed in as arguments, and with the final parameter in the array being the function itself.

Maybe that's a bit wordy, but I think the subject is a bit hard to describe in a 2 line blob.


```js
function PhoneListCtrl($scope, $http) {...}
Expand Down