Skip to content

Instantly share code, notes, and snippets.

@bitfidget
Last active August 29, 2015 14:20
Show Gist options
  • Save bitfidget/0c37aa870adc3acafd46 to your computer and use it in GitHub Desktop.
Save bitfidget/0c37aa870adc3acafd46 to your computer and use it in GitHub Desktop.
Angular Bootstrap Wishlist to work on

##Ultimate Angular Bootstrap Wishlist

###Services### #####Generic $http services

Covering full suite of rest calls and wired to chain success/error in correct manner with promises. eg.

POST(url/endpoint, data, successFunction, failFunction, name)

Where: name = simple variable to be injetced into success/fail error alerts.

#####Generic error service

Fed by the $http service, showing the error pop-up as required, with custom text and error-dependant alert colour

Could be auto-cleared on routeChanges. Use standard bootstrap styles and include nice simple animation in/out

#####Generic loading spinner

Ability to create spinner on rest calls, but also be able to manually added to slow redraw functions. (could this be done automatically? ie. ALWAYS kick-off a spinner on any action? or would this slow things down too much?)

#####Generic userAuth setup

making use of all of the above features and allowing for configuration of user access levels for all navigation routes (and show/hide of page elements according to userAuth level).

#####Standardised fade-in/fade-out directives through both ng directives and class names

include nice page loading animation once app has loaded so you don't see {{}} everywhere while the app is loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment