getting scope from angular element