Source: directives/contacts/contacts.js

    /**
     * @ngdoc directives
     * @name contacts
     * @module s4c.directives.contacts.contacts
     *
     * @description
     * `contactsController` Controller do módulo de contatos da webview
     *
     */
(function () {
    'use strict';

    contactsController.$inject = [
        '$scope',
        '$http',
        'API_ENDPOINT',
        '$window',
        '$filter',
        '$anchorScroll',
        '$mdDialog',
        '$timeout',
        'Preset',
        '$q',
        '$sce'
    ];

    function contactsController(
        $scope,
        $http,
        API_ENDPOINT,
        $window,
        $filter,
        $anchorScroll,
        $mdDialog,
        $timeout,
        Preset,
        $q,
        $sce) {

        $scope.res = $scope.$root.res;

        angular.extend($scope, {

        });
    }

    function s4cContacts() {
        return {
            restrict: 'EA',
            templateUrl: 'app/directives/contacts/contacts.html',
            scope: {},
            controller: contactsController
        };
    }

    angular.module('s4c.components.contacts', [])
        .directive('s4cContacts', s4cContacts);
})();