Add IE8 compatibility for tab directive

In the line 39 of the file tabs.js there are an incompatibility with IE8:

var index = tabs.indexOf(tab);

because the method indexOf isn't in the Array prototype, just in the String prototype.