title: Sort the columns if the flag is true-orderby angularJS
body: <p>I have a table which is sorted on the <code>name</code> column by default.I want to enhance it to make that sorting behavior optional based on a <code>isSortingRequired</code> flag.How can i provide a conditional <code>orderby</code> clause in my template.</p>