Removed $ prefix of scope and attrs variables