use scope inside isolated scope