Added custom gridTemplate support

Below is a sample custom template that I used for a grid:

&lt;div ng-grid-footer&gt;&lt;/div&gt;
&lt;div class=&quot;ngTopPanel&quot; ng-class=&quot;{&#39;ui-widget-header&#39;: gridOptions.jqueryUITheme}&quot; ng-style=&quot;topPanelStyle()&quot;&gt;
    &lt;div class=&quot;ngGroupPanel&quot; ng-show=&quot;showGroupPanel()&quot; ng-style=&quot;groupPanelStyle()&quot;&gt;
        &lt;div class=&quot;ngGroupPanelDescription&quot; ng-show=&quot;configGroups.length==0&quot;&gt;{{i18n.ngGroupPanelDescription}}&lt;/div&gt;
        &lt;ul ng-show=&quot;configGroups.length&quot; class=&quot;ngGroupList&quot;&gt;
            &lt;li class=&quot;ngGroupItem&quot; ng-repeat=&quot;group in configGroups&quot;&gt;
                &lt;span class=&quot;ngGroupElement&quot;&gt;
                    &lt;span class=&quot;ngGroupName&quot;&gt;{{group.displayName}}&lt;span ng-click=&quot;removeGroup($index)&quot; class=&quot;ngRemoveGroup&quot;&gt;x&lt;/span&gt;&lt;/span&gt;
                    &lt;span ng-hide=&quot;$last&quot; class=&quot;ngGroupArrow&quot;&gt;&lt;/span&gt;
                &lt;/span&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div class=&quot;ngHeaderContainer&quot; ng-style=&quot;headerStyle()&quot;&gt;
        &lt;div class=&quot;ngHeaderScroller&quot; ng-style=&quot;headerScrollerStyle()&quot; ng-include=&quot;gridId + &#39;headerRowTemplate.html&#39;&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div ng-grid-menu&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;ngViewport&quot; unselectable=&quot;on&quot; ng-viewport ng-class=&quot;{&#39;ui-widget-content&#39;: gridOptions.jqueryUITheme}&quot; style=&quot;max-height: 600px&quot; ng-style=&quot;viewportStyle()&quot;&gt;
    &lt;div class=&quot;ngCanvas&quot;&gt;
        &lt;div ng-style=&quot;rowStyle(row)&quot; ng-repeat=&quot;row in renderedRows&quot; ng-click=&quot;row.toggleSelected($event)&quot; ng-class=&quot;row.alternatingRowClass()&quot; ng-row&gt;&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;