AngularJS - Making a Web App
AngularJS (commonly referred to as "Angular" or "Angular.js") is an open-source web application framework mainly maintained by Google and by a community of individuals most notably, Rangle.io as well as group developers and corporations to address many of the challenges encountered in developing single-page applications. It aims to simplify both the development and the testing of such applications by providing a framework for client-side model–view–controller (MVC) and model–view–viewmodel (MVVM) architectures, along with components commonly used in rich Internet applications.
Today we are doing to show you how to make a simple web application for your very own website. This code snipper can be used for many things, but for this tutorial purposes we will be making a reviews page. Let's start with our index.html page:
As you can see, bootstrap.css is linked so make sure you have Bootsrap linked to your application. Next we are doing to finish our index.html page and link our AngularJS library.
Now that we have our HTML side, it's time to create our app.js page. as you can see in line 83 for the index page, we linked an 'app.js' page.
Ending Result when running the Index page should look like this with all tabs being functional as well!
Enjoy! If anyone is wondering, I'm using Atom Text Editor for this example.
Comments