Question: Here, how I have configured the routing

```
var config = function (rp) {
    rp.when(
        '/docs',
        {
            templateUrl: 'Docs.htm'
        }
    );
};
config.$inject = ['$routeProvider'];
app.config(config);

```

then I added 

```
<a href="#docs">Docs</a>

```

to my htm page.

when the link is clicked, URL is changed to

> 
> my\_pagename.htm#!#docs
> 
> 
> 

and it does not load the template.

but when I manually type the URL in location as

> 
> my\_pagename.htm#!/docs (replaced hash symbol with '/')
> 
> 
> 

it loads fine.

Can you please tell me the error here?

what is the proper way of specifying the href attribute, in order to work with angular routing?
My angular version is 1.6.3

Answer: 
It worked after adding Microsoft.EntityFrameworkCore.Tools.DotNet and changing the versions of dotnet tools to 1.0.0-msbuild2-final, now my .csproj is:

```
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.sqlserver.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0-msbuild2-final" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0-msbuild2-final" />
  </ItemGroup>

</Project>

```
I followed instructions from Bart Lannoeye:

UWP apps can’t run in the AnyCPU configuration
I chanbged my project to run in x86 and migrations started to work.

<http://www.bartlannoeye.com/blog/ef-core-migrations-throws-exception-calling-createinstanceandunwrap>