Angular.js的学习

Angular.js

简单介绍:

(1)轻松构建SPA(单一页面应用程序)
(2)单一页面应用程序(局部刷新,不影响整体跳转,相当于Ajax)
(3)只有一个页面(整个应用的一个载体)
(4)内容全部是由Ajax呈现出来的。


Angular.js

特点:

快,异步刷新。

减少请求大小。

体验上有明显变化。
根据锚点值发送不同的ajax请求。


URL的分解:

//protocol(协议): https
//host: www.baidu.com:8080
//hostname:www.baidu.com
//port:8080
//pathname:/aaa/1.html
//serach: ?id=10
//hash: #name   (锚点)

你可能感兴趣的:(web前端)