Blog 404- An Angular is fisher

Andrew Wilson Brewer
1 min readJul 2, 2021

This week I learned that a users token, (which allows them to see only their items) can be stored via cache and or locally.

Digest cycle is what Angular JS triggers when a value in the model or view is changed. The cycle sets off the watchers which then match the value of model and view to the newest value. Digest cycle automatically runs when the code encounters a directive. The scope of the digest cycle is limited to that of Angular JS context. To synchronise changes in view and model that happen outside the Angular context, manual application of $apply() or $digest() is necessary. Digest cycle runs between 2 and 10 times when triggered.

Angular JS Filters:

Number: Formats a numeric data as text with comma and fraction.

Currency: Formats numeric data into specified currency format and fraction. Date: Formats date to string in specified format.

Uppercase: Converts string to upper case.

Lowercase: Converts string to lower case.

Filter: Filters an array based on specified criteria and returns new array.

orderBy: Sorts an array based on specified predicate expression.

Json: Converts JavaScript object into JSON string.

limitTo: Returns new array containing specified number of elements from an existing array.

Angular Architecture:

The framework consists of several libraries, some of them core and some optional. 8 Main building blocks: Modules, Components, Templates, Metadata, Data binding, Directives, Services, Dependency Injection.

--

--