$http Services in 1.angular:
$http. Get (url,{params:{parameter}}). Success (). Error ();
$http. Post (url,{params:{parameter}}). Success (). Error ();
$http. JSONP (url,{params:{wd: ', CB: ' Json_callback '}}). Success (). Error ();
Note that the CB in the JSONP angular can only use Json_callbac
$watch (who, what to do, false);
Who is talking about who to listen to, what to do refers to the function that will be triggered when the listener changes, the last parameter Boolean, true for depth monitoring, such as the Listener object arr, the function is triggered when each item in ARR is changed, and true also indicates that it can listen to more than one If False by default, only a single object can be listened to.
The following use angular Jsonp to do a simple Baidu search down, the original Baidu search down in front of the article written, interested can search for a look
<!doctype html>
2.angular tab, I think the tab is simple, but through the tab can show a lot of ideas, this angular tab is still very simple
<!doctype html>
Angular cross-domain (angular Baidu drop-down hint simulation) and angular tab