Your app uses a modular architecture:
angular.module("app", ["core", "dashboard", "jobs", ...])Learn: • How to create and configure modules • Dependency injection with $inject annotation • Module dependencies and loading order
Your project uses the modern controllerAs pattern:
controller: "dashboardController",
controllerAs: "vm"Learn:
-
Controller functions vs constructor pattern
-
this vs $scope usage
-
Binding data to controller instance (vm.property)
-
View
Your app uses UI-Router instead of ngRoute:
$stateProvider.state("root.dashboard", {
url: "dashboard",
views: { body: { templateUrl: "views/dashboard/dashboard.html" }}
})Learn: • States vs routes • Nested views and state hierarchy • URL parameters and resolve
Your project has services like dashboardService, commonService:
Learn: • Service vs Factory vs Provider • Creating reusable business logic • HTTP requests with $http
Your app has a /directives folder with custom components:
Learn:
-
Element, attribute, class directives
-
Scope isolation (scope: {})
-
Template and templateUrl
-
Link function basics
-
Form validations