https://github.com/patrickmarabeas/exploring-module-development-in-angular.js
An article written for Backstop Media
https://github.com/patrickmarabeas/exploring-module-development-in-angular.js
Last synced: 5 months ago
JSON representation
An article written for Backstop Media
- Host: GitHub
- URL: https://github.com/patrickmarabeas/exploring-module-development-in-angular.js
- Owner: patrickmarabeas
- Created: 2014-09-08T13:23:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-08T13:29:32.000Z (almost 12 years ago)
- Last Synced: 2025-08-02T21:50:01.759Z (11 months ago)
- Homepage: https://www.packtpub.com/books/content/module-development-in-angular-js
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exploring Module Development in Angular.js
This started off as an article about building a simple ScrollSpy module. Simplicity got away from me, however, so I'll focus on some of the more interesting bits and pieces that make this module tick! You may wish to have the [completed code](https://github.com/patrickmarabeas/ng-ScrollSpy.js/tree/v3.0.0) with you as you read this to see how it fits together as a whole - as well as the missing code and logic.
Modular applications are those which are "composed of a set of highly decoupled, distinct pieces of functionality stored in modules" (Addy Osmani). By having loose coupling between modules, the application becomes easier to maintain and functionality can be easily swapped in and out.
As such, functionality of our module will be strictly limited to the activation of one element when another is deemed to be viewable by the user. Linking, smooth scrolling and other features navigation elements might have, should be another modules concern.