We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb69b5 commit b880b6aCopy full SHA for b880b6a
app/scripts/app.js
@@ -16,7 +16,9 @@ angular
16
'ngRoute',
17
'ngSanitize'
18
])
19
- .config(function ($routeProvider) {
+ .config(function ($locationProvider, $routeProvider) {
20
+
21
+ $locationProvider.hashPrefix('');
22
23
$routeProvider
24
.when('/', {
app/views/partials/media.html
@@ -15,6 +15,6 @@ <h3>{{item.name}}</h3>
15
<p>
{{item.description}}
</p>
- <a ng-href="/#/portfolio/{{item.id}}" class="btn btn-default">More details</a>
+ <a ng-href="/portfolio/{{item.id}}" class="btn btn-default">More details</a>
</div>
0 commit comments