$ 0 0 What is view? I don't see any variable of that name defined in your code.This this should be a $.Controller and not a $.Class.