1/** 2 * Created by Team Scry on 25/10/16. 3 */ 4'use strict'; 5 6 7angular.module('healthConsulApp').controller('ContactUsCtrl', ['$scope', 'Auth', 'sharedService', 'ngMeta', 'seoService', function ($scope, Auth, sharedService, ngMeta, seoService) { 8 $scope.user = {}; 9 $scope.isSent = false; 10 11 var metaData = seoService.getMeta({category: "main_contactUs", subcat: "contactUs"}); 12 13 ngMeta.setTitle(metaData.title); 14 ngMeta.setTag("description",metaData.desc); 15 ngMeta.setTag("og:title",metaData['og:title']); 16 ngMeta.setTag("og:description",metaData['og:description']); 17 /*ngMeta.setTag("og:url",sharedService.url+metaData['og:url']);*/ 18 19 20 21 $scope.send = function (form) { 22 $scope.submitted = true; 23 if (form.$valid) { 24 Auth.sendContactUsEmail({ 25 name: $scope.user.name, 26 email: $scope.user.email, 27 phone: $scope.user.phone || '', 28 subject: $scope.user.subject, 29 content: $scope.user.content 30 }).success(function (data) { 31 $scope.message = data === 'Success' ? "Thank you!!! We will contact you soon." : data; 32 $scope.isSent = true; 33 }).error(function (err) { 34 sharedService.log(err); 35 }); 36 } 37 } 38 39}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.