Extracted call to $.foundation into directive so it's more "angular"