src/components/datepicker/js/calendarYearBody.js
function CalendarYearBodyCtrl($element, $$mdDateUtil, $mdDateLocale) {
    /** @final {!angular.JQLite} */
    this.$element = $element;

    /** @final */
    this.dateUtil = $$mdDateUtil;

    /** @final */
    this.dateLocale = $mdDateLocale;

    /** @type {Object} Reference to the calendar. */
    this.calendarCtrl = null;

    /** @type {Object} Reference to the year view. */
    this.yearCtrl = null;

    /**
     * Number of months from the start of the month "items" that the currently rendered month
     * occurs. Set via angular data binding.
     * @type {number}
     */
    this.offset = null;

    /**
     * Date cell to focus after appending the month to the document.
     * @type {HTMLElement}
     */
    this.focusAfterAppend = null;
  }
function CalendarYearBodyCtrl($element, $$mdDateUtil, $mdDateLocale) {
    /** @final {!angular.JQLite} */
    this.$element = $element;

    /** @final */
    this.dateUtil = $$mdDateUtil;

    /** @final */
    this.dateLocale = $mdDateLocale;

    /** @type {Object} Reference to the calendar. */
    this.calendarCtrl = null;

    /** @type {Object} Reference to the year view. */
    this.yearCtrl = null;

    /**
     * Number of months from the start of the month "items" that the currently rendered month
     * occurs. Set via angular data binding.
     * @type {number}
     */
    this.offset = null;

    /**
     * Date cell to focus after appending the month to the document.
     * @type {HTMLElement}
     */
    this.focusAfterAppend = null;
  }
function CalendarYearBodyCtrl ( $element , $$mdDateUtil , $mdDateLocale ) { /** @final {!angular.JQLite} */ this . $element = $element ; /** @final */ this . dateUtil = $$mdDateUtil ; /** @final */ this . dateLocale = $mdDateLocale ; /** @type {Object} Reference to the calendar. */ this . calendarCtrl = null ; /** @type {Object} Reference to the year view. */ this . yearCtrl = null ; /**
     * Number of months from the start of the month "items" that the currently rendered month
     * occurs. Set via angular data binding.
     * @type {number}
     */ this . offset = null ; /**
     * Date cell to focus after appending the month to the document.
     * @type {HTMLElement}
     */ this . focusAfterAppend = null ; }
Controller for a single year.
@ngInject @constructor
Controller for a single year .