T
T
tincap2015-07-27 16:48:17
Angular
tincap, 2015-07-27 16:48:17

How to set dynamic templateUrl in AngularJS?

$routeProvider
    .when("/work/:workId", {
        templateUrl: 'views/pages/work /* сюда вставить :workId  */ .html'
    })

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zolotykh, 2015-07-27
@tincap

stackoverflow.com/questions/13681116/angularjs-dyn...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question