<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; httpProvider</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=httpprovider" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>angularJS创建拦截注入$httpProvider、interceptor 、auth</title>
		<link>http://www.lanxinbase.com/?p=1352</link>
		<comments>http://www.lanxinbase.com/?p=1352#comments</comments>
		<pubDate>Thu, 13 Oct 2016 08:33:25 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[6.前端开发]]></category>
		<category><![CDATA[个人日志]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[httpProvider]]></category>
		<category><![CDATA[interceptor]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1352</guid>
		<description><![CDATA[angularJS创建拦截注入，为每个$http请求添加auth权限请求： var app = angular [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1352</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AngularJS中$http、$httpProvider、$resource操作笔记</title>
		<link>http://www.lanxinbase.com/?p=1340</link>
		<comments>http://www.lanxinbase.com/?p=1340#comments</comments>
		<pubDate>Sun, 09 Oct 2016 08:43:15 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[6.前端开发]]></category>
		<category><![CDATA[$resource]]></category>
		<category><![CDATA[Angular]]></category>
		<category><![CDATA[AngularJS]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[httpProvider]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1340</guid>
		<description><![CDATA[1.设置httpProvider头

var app = angular.module("Myapp", ['ngRoute'])
        .config(['$locationProvider','apikey',function($locationProvider,apikey){
            $locationProvider.html5Mode(false);
            $locationProvider.hashPrefix("!")
        }])
        .config(function ($routeProvider,$httpProvider) {
            //设置http头
            $httpProvider.defaults.headers.common["X-Response-Code-By"] = "Angular1.3.8";]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1340</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
