add isolated scope to navbar