What does “html?v=<%= VERSION %>” mean?


I'm having a difficult time finding the answer. Basically, what is the ?v=<%= VERSION %> doing on the following line?

'./components/home/home.html?v=<%= VERSION %>

If it helps, the source file can be seen here.

Or here:

import {Component, View} from 'angular2/angular2';
import {RouterLink} from 'angular2/router';

  selector: 'component-1'
  templateUrl: './components/home/home.html?v=<%= VERSION %>',
  directives: [RouterLink]
export class Home {}


My guess is that this really is ASP-alike, hence being a short for the Response.Write method.

<%= VERSION %>



This line is using this "write" to control the template version.

By : lockedz

This video can help you solving your question :)
By: admin