fixed viewAttached -> attached - Durandal 2.0 fix