Use AngularJS Routing to build a simple single-page application

Photo by Fotis Fotopoulos on Unsplash
main page view
Registration page view
login page view
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-route.js"></script>
var app = angular.module("myApp", ["ngRoute"]);

--

--

Undergraduate of University of Moratuwa | Faculty of Information Technology

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kushan Madhusanka

Undergraduate of University of Moratuwa | Faculty of Information Technology