View on GitHub

pb.bank

A starter online banking application built with Worklight, Angular and Bluemix services

Download this project as a .zip file Download this project as a tar.gz file

Class: bank

pb. bank

new bank(ngRoute)

Declare application level module defined in common/index.html
Parameters:
Name Type Description
ui.bootstrap ngModule user interface
ngRoute ngModule manages loading of views based on window.location
pb.bank.navigation ngModule manages the navigation bar and the login authorization challenge handler
pb.bank.homeview ngModule manages the welcome page
pb.bank.accountview ngModule manages the first view with protected data for the account
pb.bank.investmentsview ngModule manages the second view with public data
pb.bank.user ngModule manages the display of the data inside the UserIdentity object
pb.bank.alerts ngModule manages alerts display on page (not modal)
pb.bank.version ngModule manages application version display
Source:

Classes

accountview
alerts
DoubleStepAuthAdapter
homeview
investmentsview
MovementsAdapter
navigation
StocksAdapter
user

Type Definitions

config($routeProvider)

Loads welcome page as default location
Parameters:
Name Type Description
$routeProvider service
Source:

directive(appAlerts)

Provide common/alerts html template for the appAlerts div attribute
Parameters:
Name Type Description
appAlerts attribute app-alerts div
Source:

directive(appNavigation)

Provide common/navigation html template for the app-navigation div attribute
Parameters:
Name Type Description
appNavigation attribute app-navigation div
Source: