Building a Simple Example Application with AngularJS
This topic is aimed at helping you to jump start developing HostSurfer web applications. The example shown in next topics make use of AngularJS to generate the web interface, and Brackets for editing and testing during the application development process.
Pre-Requisites
To begin with, please setup the following development environment:
-
Create a folder for your application, i.e.,
myapp. -
Create a file named
hsangular.jswithinmyappfolder, in case your application is based on AngularJS framework, like this example. -
Create a sub-folder named
rulesundermyappfolder. You can also create ‘css’ andimagessub-folders as needed. -
Create a sub-folder named ‘js’ under
myappfolder, and copy to it the file namedrequire.js. -
Open Brackets and set the working folder to your application local folder. Now you are ready to start developing your first HostSurfer application by following these steps: