I've created Provider Hosted app. I'm using client object model in my app. When I try to call this code I get 

> 
> ReferenceError: SP is not defined
> 
> 
> 

```
var context = SP.ClientContext.get_current();

```

I've tried out with different sp.js call like below but I'm not got any solution:

First way:

```
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"></script>

```

Second way: 

```
<script type="text/ecmascript" src="/_layouts/SP.Core.js"></script>

```

Third way: 

```
<script  type="text/javascript" src="/_layouts/sp.runtime.js"></script>
<script  type="text/javascript" src="/_layouts/sp.js"></script><script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"></script>
<script type="text/javascript" src="../Scripts/jquery-1.10.2.min.js"></script>
    <script type="text/ecmascript" src="/_layouts/15/SP.Core.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>

```

but nothing will work for me.